package com.qfedu.lc.common.util;

import com.qfedu.lc.common.config.SystemConfig;

public class JwtTest {

    public static void main(String[] args) {

        String jwtToken = JwtUtil.createJwt(100, "xiaoming", "13265760799");
        System.out.println("jwtToken = " + jwtToken);


        // 从token中解析出来 用户信息
        Object playLoad_phone = JwtUtil.parseToken(jwtToken, "phone");
        System.out.println("playLoad_phone = " + playLoad_phone);


    }
}
